<form id="add-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Week_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-week_id" data-rule="required" data-source="week/index" class="form-control selectpage" name="row[week_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Uid')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-uid" data-rule="required" class="form-control" name="row[uid]" type="number">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Customer_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-customer_id" data-rule="required" data-source="customer/index" class="form-control selectpage" name="row[customer_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Contact_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-contact_id" data-rule="required" data-source="contact/index" class="form-control selectpage" name="row[contact_id]" type="text" value="">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Week_day')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-week_day" data-rule="required" class="form-control selectpicker" name="row[week_day]">
                {foreach name="weekDayList" item="vo"}
                    <option value="{$key}" {in name="key" value=""}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Date_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-date_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[date_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Date_text')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-date_text" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD" data-use-current="true" name="row[date_text]" type="text" value="{:date('Y-m-d')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Notice')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-notice" data-rule="required" class="form-control" name="row[notice]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Feeling')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-feeling" data-rule="required" class="form-control" name="row[feeling]" type="text">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ai_reply')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-ai_reply" data-rule="required" class="form-control " rows="5" name="row[ai_reply]" cols="50"></textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Ai_reply_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-ai_reply_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[ai_reply_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Create_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-create_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[create_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Update_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-update_time" data-rule="required" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[update_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Delete_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-delete_time" class="form-control datetimepicker" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[delete_time]" type="text" value="{:date('Y-m-d H:i:s')}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
        </div>
    </div>
</form>

<link href="__CDN__/assets/css/print-A4.css?v={$site.version}" rel="stylesheet">
<div id="print-box">
	<div class="header">
		<h1>任务清单</h1>
		<p>[ 新知识固化过程管理 ]</p>
	</div>
	<div class="main">
		<div class="user-info">
			<span>姓名: 小明</span>
			<span>日期：2024.11.26</span>
		</div>
		<div class="list">
			<p>今天记忆复习清单</p>
			<ul id="task"></ul>
		</div>
		<div class="text-context-box">
			<p>察觉：</p>
			<div class="text-context" id="notice"></div>
		</div>
		<div class="text-context-box">
			<p>感受：</p>
			<div class="text-context" id="feeling"></div>
		</div>
		<div class="text-context-box">
			<p>AI反馈：</p>
			<div class="text-context" id="ai"></div>
		</div>
		<div class="text">
			<p>---完成后请在后侧打勾---</p>
			<p>---本小票需要保存到学习记录中---</p>
		</div>
	</div>
	<div class="footer">
		<p>文心一格 · 潜龙觉</p>
		<p>潜意识学习力密训营</p>
	</div>
</div>